package com.jj.fly.utils;/** * 比较类，对List<String> 排序时使用此排序类 */import java.util.Comparator;public class ValComparator implements Comparator<String> {  	      public int compare(String o1, String o2) {          int seq1 = 0;          int seq2 = 0;          try {              seq1 = Integer.parseInt(o1);              seq2 = Integer.parseInt(o2);          } catch (Exception e) {          }            return seq1 - seq2;      }  }  